package com.cloudpark.common.mqtt;

import java.util.List;

public class MqttDTO<T> {

	private int code;
	private String serviceId;
	private String uuid;
	private List<T> dataItems;

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return the serviceId
	 */
	public String getServiceId() {
		return serviceId;
	}

	/**
	 * @param serviceId
	 *            the serviceId to set
	 */
	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}
	
	/**
	 * @return the uuid
	 */
	public String getUuid() {
		return uuid;
	}

	/**
	 * @param uuid the uuid to set
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	/**
	 * @return the dataItems
	 */
	public List<T> getDataItems() {
		return dataItems;
	}

	/**
	 * @param dataItems
	 *            the dataItems to set
	 */
	public void setDataItems(List<T> dataItems) {
		this.dataItems = dataItems;
	}

}
